package com.woniuxy.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
public class CarInsuranceDto {
    @ExcelIgnore
    private Integer id;
    @ExcelProperty(value="车牌号",index = 0)
    private String carNumber;   //车牌号

    @ExcelProperty(value="车架号",index = 1)
    private String frameNumber; //车架号
    @ExcelProperty(value="保险单号",index = 2)
    private String policyNumber;//保险单号
    @ExcelProperty(value="保险公司名",index = 3)
    private String insuranceCompany;//保险公司名称
    @ExcelProperty(value="投保日期",index = 4)
    private LocalDate insuranceDate;//投保日期
    @ExcelProperty(value="截止日期",index = 5)
    private LocalDate deadlineDate;//截止日期
    @ExcelProperty(value="运营里程数",index = 6)
    private String operatingMileage;//运营里程数
    @ExcelProperty(value="投保状态",index = 7)
    private Integer insuranceState;//投保状态 0:未投保1:已投保 2:已到期
    @ExcelProperty(value="外键id",index = 8)
    private Integer carId;//外键id
}
